<%@    page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    String webSocketPath = request.getServerName() + ":" + request.getServerPort() + path;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">
    <title>历史健康分析</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is	my page">

    <link rel="stylesheet" type="text/css" href="jquery/easyui1.4.2/themes/gray/easyui.css">
    <link rel="stylesheet" type="text/css" href="jquery/easyui1.4.2/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="css/assets/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/assets/css/ace.min.css"/>
    <link rel="stylesheet" href="css/assets/css/ace-rtl.min.css"/>
    <link rel="stylesheet" href="css/assets/css/ace-skins.min.css"/>

    <script type="text/javascript" src="jquery/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="jquery/easyui1.4.2/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="jquery/easyui1.4.2/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="jquery/underscore-min.js"></script>
    <script type="text/javascript" src="mintor/content/js/datadiagnosis.js"></script>
    <script type="text/javascript">var type = 0;</script>

    <style type="text/css">
        input[readonly] {
            background: #ffffff !important;
            cursor: default;
        }


        table {

            /*border-collapse: collapse;*/

            font-family: Futura, Arial, sans-serif;



        }

        th,td {

            padding: .55em;

        }

        th {

            background: #7db4d8 none repeat scroll 0 0;

            border: 1px solid #7db4d8;

            border-radius:29px;
            color: #fff;
            vertical-align:bottom;

        }

        td {

            border: 1px solid #eef4f9;

        }

        tbody tr:nth-child(odd) {

            background: #eef4f9;

        }

        th:first-child {

            border-radius: 29px 0 0 0;

        }

        th:last-child {

            border-radius: 0 29px 0 0;

        }

        tr:last-child td:first-child {

            border-radius: 0 0 0 29px;

        }

        tr:last-child td:last-child {

            border-radius: 0 0 29px 0;

        }

        img{
            width: 18%;
            height:18%;
        }
    </style>
</head>

<body style="background-color:white;">
<div style="display:block;">
    <div class="widget-box" style="margin:16px 24px;padding-bottom:15px;text-align: center;">
        <div class="widget-header header-color-blue" style="border-top-left-radius:10px;border-top-right-radius:10px;">
            <h4 style="color:white;font-family: '微软雅黑'">历史数据分析</h4>
        </div>
        <div class="widget-body" style="border-bottom-right-radius:10px;border-bottom-left-radius:10px;">
            <div class="widget-main">
                <div class="row">
                    设备
                    <input id="equipmentId" name="equipmentId"
                           style="width: 120px;	height:	29px;"
                           class="easyui-combobox form-control"
                           data-options="required:true">
                    &nbsp;&nbsp;传感器
                    <input id="sensorTypeId" name="sensorTypeId"
                           style="width: 120px; height: 29px;"
                           class="easyui-combobox	form-control"
                           data-options="required:true">
                    &nbsp;&nbsp;<button class="btn btn-sm btn-primary center"
                                        style="margin-top:2px;" onclick="checksensor()">当天查询
                </button>
                    &nbsp;&nbsp;时间
                    <input id="date" name="timeDate"
                           style="width: 120px; height: 29px;"
                           class="easyui-datebox select"
                           data-options="required:true">
                    &nbsp;&nbsp;<button class="btn btn-sm btn-primary center"
                                        style="margin-top:2px;" onclick="checksensor2()">历史查询
                </button>
                    <br>
                    <div class="row-left" style="margin:0 auto;width: 620px;display:inline-block;margin-right: 10px;">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" style="margin-top:10px;width:620px">
                            <div class="widget-box" style="width:610px">
                                <div class="widget-header header-color-blue2" style="border-top-left-radius:10px;border-top-right-radius:10px;">
                                    <h4 style="color:white">数据基本信息</h4>
                                </div>
                                <div class="widget-body" style="height:	300px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;">
                                    <table id="dataGrid" data-options="fit:true,border:false"></table>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row-right" style="width:620px;margin:0 auto;display:inline-block;margin-right: 10px;">
                        <div class="col-xs-12 col-sm-12	col-md-12 col-lg-12" style="margin-top:10px;">
                            <div class="widget-box" style="">
                                <div class="widget-box">
                                    <div class="widget-header  header-color-blue2" style="border-top-left-radius:10px;border-top-right-radius:10px;">
                                        <h4 style="color:white">故障传感器详细</h4>
                                    </div>
                                    <div class="widget-body" style="height:	300px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;">
                                        <div class="form-group col-x" style="margin-top: 20px;margin-left: 10px">
                                            故障传感器
                                            <input id="modelSelect" name="equipmentId" style="width: 120px;	height:	29px;"
                                                   class="easyui-combobox form-control" data-options="required:true">
                                            &nbsp;&nbsp;<button class="btn btn-sm btn-primary center" style="margin-top: 0px;"
                                                                onclick="finddetail()">详查
                                        </button>

                                        </div>
                                        <div class="form-group col-xm-12 col-sm-3 col-md-1">

                                        </div>
                                        <div class="easyui-layout" data-options="fit:true,border:false">
                                            <div data-options="region:'center',fit:true,border:false">
                                                <table id="dataGrid2" data-options="fit:true,border:false"></table>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>

</div>

</body>
</html>
